﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Entities.Auditing;

namespace ProductionManage.Models.DataModel
{
    /// <summary>
    /// 工作站实体类
    /// </summary>
    public class Workstation : Entity<int>
    {
        /// <summary>
        /// 工作站编码
        /// </summary>
        public string? WorkstationCode { get; set; }

        /// <summary>
        /// 工作站名称
        /// </summary>
        public string? WorkstationName { get; set; }

        /// <summary>
        /// 工作站地点
        /// </summary>
        public string? Address { get; set; }

        /// <summary>
        /// 所属车间ID
        /// </summary>
        public int? WorkShopId { get; set; }

        /// <summary>
        /// 所属车间编码
        /// </summary>
        public string? WorkShopCode { get; set; }

        /// <summary>
        /// 所属车间名称
        /// </summary>
        public string? WorkShopName { get; set; }

        /// <summary>
        /// 工序ID
        /// </summary>
        public int? ProcessId { get; set; }

        /// <summary>
        /// 工序编码
        /// </summary>
        public string? ProcessCode { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProcessName { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
